<?php
/**
 * Меню административной панели
 */
class WMenu extends CWidget
{
	public $type;
	
	public $view;
	
	public function init()
	{
	}
	
	public function run()
	{
		$menu = new Menu($this->type);
		$menu->buildItems();

		$this->render($this->view, array(
			'menu' => $menu,
		));
	}

}